<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="bookmark" href="./favicon.ico" />
    <!-- <link rel="bookmark" href="./logo.png" /> -->
    <!-- <link rel="shortcut icon" type="image/x-icon" href="./logo.png" /> -->
    <title><%= htmlWebpackPlugin.options.isProd ? '' : 'dev- '%>电商后台管理系统</title>

    <!-- 只有prod(发布阶段)生效 -->
    <% if(htmlWebpackPlugin.options.isProd){ %>
    <!-- 只有prod(发布阶段)生效 -->
    <!-- element-ui 的样式表文件 -->
    <link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/element-ui@2.15.13/lib/theme-chalk/index.css" />
    <!-- nprogress 的样式表文件 -->
    <link href="https://cdn.bootcdn.net/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet" />

    <!-- js文件 -->
    <script src="https://cdn.bootcss.com/vue/2.6.14/vue.min.js" rel="stylesheet" type="text/javascript"></script>
    <script src="https://unpkg.com/axios@1.3.2/dist/axios.min.js"></script>
    <script src="https://cdn.staticfile.org/vue-router/3.5.2/vue-router.min.js"></script>
    <script src="https://cdn.bootcss.com/echarts/5.4.1/echarts.js"></script>
    <script src="https://cdn.staticfile.org/nprogress/0.2.0/nprogress.min.js"></script>
    <!-- element-ui 的 js 文件 -->
    <script src="https://cdn.staticfile.org/element-ui/2.15.13/index.js"></script>
    <% } %>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
